package com.ruoyi.project.digital.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户宠物聊天信息对象 t_pet_message
 *
 * @author ruoyi
 * @date 2023-11-01
 */
@Data
public class PetMessageVO
{


    /** 分钟 */
    @Excel(name = "分钟")
    private String duration;

    /** 对话数量 */
    @Excel(name = "对话数量")
    private Long number;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date offTime;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 宠物id */
    @Excel(name = "宠物id")
    private Long petId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 主键 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("背景图")
    private String backUrl;

    @ApiModelProperty("副标题")
    private String subTitle;
}
